from lib.config.index import sensor_config
from lib.sensors.lm35 import LM35
import time

lm35_config = sensor_config.get_sensor("LM35")
pin = lm35_config["pin"]

lm35 = LM35(pin)

while True:
    c = lm35.read()
    print(f"{c} C")
    time.sleep(1)